import request from '@/utils/request'

// 查询资质管理列表
export function listTechnicianAuthentication(query) {
  return request({
    url: '/technicianAuthentication/technicianAuthentication/list',
    method: 'get',
    params: query
  })
}

// 查询资质管理详细
export function getTechnicianAuthentication(id) {
  return request({
    url: '/technicianAuthentication/technicianAuthentication/' + id,
    method: 'get'
  })
}

// 新增资质管理
export function addTechnicianAuthentication(data) {
  return request({
    url: '/technicianAuthentication/technicianAuthentication',
    method: 'post',
    data: data
  })
}

// 修改资质管理
export function updateTechnicianAuthentication(data) {
  return request({
    url: '/technicianAuthentication/technicianAuthentication',
    method: 'put',
    data: data
  })
}

// 删除资质管理
export function delTechnicianAuthentication(id) {
  return request({
    url: '/technicianAuthentication/technicianAuthentication/' + id,
    method: 'delete'
  })
}
